package com.securities.stock.service.impl;

import com.securities.stock.entity.pojo.City;
import com.securities.stock.mapper.CityMapper;
import com.securities.stock.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {

    @Autowired
    private CityMapper cityMapper;

    @Override
    public List<City> queryAll() {
        City city=new City();
       // cityMapper.select(city);
        return cityMapper.queryAll();
    }
}
